import { createRouter, createWebHashHistory } from 'vue-router';

export default createRouter({
    history: createWebHashHistory(),
    routes: [
        { path: '/', name: 'Home', component: () => import('@/views/home/Home.vue') },
        { path: '/code-online', name: 'CodeOnline', component: () => import('@/views/code-online/CodeOnline.vue') },
        { path: '/h5-editor', name: 'H5Editor', component: () => import('@/views/h5-editor/H5Editor.vue') },
    ],
});
